package pl.edu.agh.inpema.core.environment;

import java.util.Date;

public class EnvironmentInfo {

	private Integer id = null;;
	
	private Date startTime = null;;
	private Date endTime = null;;
	
	private String xmlConfiguration = null;;
	
	private boolean success = false;
	
	public EnvironmentInfo() {
		
	}
	
	public String getXmlConfiguration() {
		return xmlConfiguration;
	}

	public void setXmlConfiguration(String xmlConfiguration) {
		this.xmlConfiguration = xmlConfiguration;
	}	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}
	
	public String toString() {
		return this.id + ": "+this.startTime + " - "+this.endTime+", " + this.success;
	}
	
}
